package com.example.mytayunapi.Service;

import com.example.mytayunapi.Entity.ordersInfo;
import com.example.mytayunapi.Vo.ordersuserproducts;

import java.util.List;

public interface ordersService {
    ordersInfo insertOrderAndGetFullInfo(ordersInfo ordersInfo);

    List<ordersuserproducts> queryOrders(String School_degree);

    ordersInfo SelectedByOrder_id(Integer order_id);

    Integer updateById(ordersInfo orders);

    List<ordersInfo> Selected_order_id(Integer Product_id);

    List<ordersuserproducts> SelectedByOrder_Status(String School_degree);

    List<ordersuserproducts> getUser(Integer order_id);

    List<ordersuserproducts> queryOrdersByOrderId(Integer order_id);

    List<ordersuserproducts> queryOrdersRefundsByOrderId(Integer order_id);
}
